﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace sydfdl.TMS.Model
{
    ///<summary>
    ///用户表
    ///</summary>
    [Serializable]
    public class T_B_User
    {
        ///<summary>
        ///
        ///</summary>
        public Guid UID { set; get; }
        ///<summary>
        ///用户编码
        ///</summary>
        public String UCode { set; get; }
        ///<summary>
        ///用户名
        ///</summary>
        public String UName { set; get; }
        ///<summary>
        ///是否为管理员：1是，0否
        ///</summary>
        public Boolean IsAdmin { set; get; }
        ///<summary>
        ///1为男，0为女，NULL不详；
        ///</summary>
        public Boolean USex { set; get; }
        ///<summary>
        ///电子邮箱
        ///</summary>
        public String EMail { set; get; }
        ///<summary>
        ///Phone
        ///</summary>
        public String UPhone { set; get; }
        ///<summary>
        ///WeChat
        ///</summary>
        public String WeChat { set; get; }
        ///<summary>
        ///QQ
        ///</summary>
        public String QQ { set; get; }
        ///<summary>
        ///密码
        ///</summary>
        public String Pwd { set; get; }
        ///<summary>
        ///地址
        ///</summary>
        public String Address { set; get; }
        ///<summary>
        ///是否有效：1是，0非
        ///</summary>
        public Boolean IsValid { set; get; }
        ///<summary>
        ///公司ID
        ///</summary>
        public Guid? CID { set; get; }

        ///<summary>
        ///公司名称
        ///</summary>
        public String CName { set; get; }

        ///<summary>
        ///是否内部用户：1是，0非
        ///</summary>
        public Boolean IsInner { set; get; }
    }

    public class T_B_User_Menu_Button
    {
        public Guid MID { get; set; }

        public Guid? FID { get; set; }

        public string MName { get; set; }

        public string MUrl { get; set; }

        public int MSort { get; set; }

        public bool IsChecked { get; set; }

        IEnumerable<T_B_MenuButton> MenuButton { get; set; }


    }

    public class T_B_MenuButton
    {
        public string ID { get; set; }

        public string Text { get; set; }

        public bool IsChecked { get; set; }
    }
}